function myCreateSelect() {
    var x = document.getElementsByClassName("chose");
    var i;
    var value=new Array("厂公","锦衣卫","三小姐","二少奶奶","二少爷","江灵","二少奶奶","太子","二皇子","太医","秦正");
    var id=value;
    for (i = 0; i < x.length; i++) {
        for(var j=0;j<id.length;j++){
            var option=document.createElement("option");
            option.setAttribute("value",id[j]);
            option.appendChild(document.createTextNode(value[j]));
            x[i].appendChild(option);
        }
        x[i].setAttribute("name","username")
    }
}
myCreateSelect();

function mySee() {
    var x = document.getElementById("see");
    var value=new Array("厂公","锦衣卫","三小姐","二少奶奶","二少爷","江灵","二少奶奶","太子","二皇子","太医","秦正");
    for(var i=0;i<value.length;i++){
        var user = document.createElement("div");
        var name = document.createElement("h1");
        name.setAttribute("th:text","${"+value[i]+"}")
        user.appendChild(name);
        x.appendChild(user);
    }
}
mySee();